<demo>
支持 disabled
<p></p>
</demo>
<template>
  <HSwitch v-model:value="bool" disabled/>
</template>

<script lang="ts">
import { HSwitch } from '../../../lib/index'
import { ref } from 'vue'
export default {
  components: {
    HSwitch,
  },
  setup() {
    const bool = ref(false)
    return {
      bool,
    }
  },
}
</script>
